all : discovery registry 

discovery: discovery.cc
	g++ -o $@ $^ -std=c++17 -lspdlog -lfmt -lgflags -letcd-cpp-api -lcpprest

registry: registry.cc
	g++ -o $@ $^ -std=c++17 -lspdlog -lfmt -lgflags -letcd-cpp-api -lcpprest


.PHONY:clean
clean:
	rm discovery registry 